package com.cloud.api.upms.enums;

import com.cloud.common.core.result.RespEnum;
import lombok.Getter;

/**
 * Author:  xuanning
 * Date:    2023/2/2 16:18
 */
@Getter
public enum UserExceptionEnum implements RespEnum {

    USERNAME_EXIST("1001","用户名已存在，不能重复添加"),
    USER_NOT_EXIST("1001","用户不存在"),
    STATUS_NOT_BLANK("1001","状态不能为空"),

    ;
    private String code;
    private String msg;

    UserExceptionEnum(String code,String msg){
        this.code=code;
        this.msg=msg;
    }
}
